//
//  ios_Node.mm
//  Prism
//
//  Created by Bas du Pre on 21-05-11.
//  Copyright 2011 UU. All rights reserved.
//

#include "global.h"
#if PRISM_OS_IOS
#include "ios_global.h"

#include "Node.h"
#include "Director.h"

#import "InputLayer.h"

void Prism::Scene::native_init() {
    IOS_inputLayer = [InputLayer node];
    InputLayer* l = (InputLayer*)IOS_inputLayer;
    [l setScene:this];
    l.isTouchEnabled = YES;
    if (IOS_node != 0) {
        [IOS_node addChild:l];
    }
}

#endif